package com.darkplanet.management.service;

import com.darkplanet.management.domain.EmployeeRole;
import com.darkplanet.management.domain.SecondMenu;

import java.util.List;

public interface IEmployeeMenu {
    List<EmployeeRole> getRoles(Integer employee_id);   //查出每个员工对应的所有角色 EmployeeRoleDAO
    List<SecondMenu> getSecondMenus(Integer employee_id);  //然后根据角色查该角色具有的菜单功能(RoleMenuDao)，并删除重复项（用set集合）
    List<List> getMenus(Integer employee_id);
    List<SecondMenu> sort(List<SecondMenu> list);
}
